package com.atguigu.lease.common.constant;

import org.springframework.stereotype.Component;

//不需要ioc管理
public class RedisConstant {
    public static final String ADMIN_LOGIN_PREFIX = "admin:login";
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;
    public static final String APP_LOGIN_PREFIX = "app:login";
    //约定短信发送间隔时间 60
    public static final Integer APP_LOGIN_CAPTCHA_TTL_SEC = 60;
    //数据库的短信验证码的有效时间 600
    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60*10;
}
